﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace newTurtle8
{
    public partial class PictureBoxForm : Form
    {
        public PictureBoxForm(Image image,string firstName, string lastName)
        {
            InitializeComponent();

       
            this.Text = firstName + " " + lastName;
            Size size = SystemInformation.PrimaryMonitorSize;
            size.Height /= 2;
            size.Width /= 2;

            this.Size = size;
            pictureBox1.Image = image;
            
        }
    }
}
